<div class="layui-card-header"><span class="def-fc left-split"><i class="fa fa-address-card-o"></i>主单信息</span></div>
<div class="layui-card-body">
    <div id="paymentView"></div>
</div>
<div class="layui-card-header"><span class="def-fc left-split"><i class="fa fa-list"></i>订单信息</span></div>
<div class="layui-card-body">
    <table class="layui-hide" id="memberTable"></table>
</div>
<script type="text/html" id="paymentViewTemp">
    <div class="layui-row">
        <div class="layui-col-md3"><label class="fkey">付款单号：</label><label class="fval">{{d.docNo}}</label></div>
        <div class="layui-col-md3"><label class="fkey">申请时间：</label><label class="fval">{{d.accountDate}}</label></div>
        <div class="layui-col-md3"><label class="fkey">付款金额：</label><label class="fval">{{formatCurrency(d.accountValue)}}{{d.currencyName}}</label></div>
        <div class="layui-col-md3"><label class="fkey">人民币金额：</label><label class="fval">{{formatCurrency(d.accountValueCny)}}</label></div>
    </div>
    <div class="layui-row">
        <div class="layui-col-md3"><label class="fkey">客户名称：</label><label class="fval">{{d.customerName}}</label></div>
        <div class="layui-col-md3"><label class="fkey">收款人：</label><label class="fval">{{d.payee}}</label></div>
        <div class="layui-col-md3"><label class="fkey">收款行：</label><label class="fval">{{d.payeeBankName}}</label></div>
        <div class="layui-col-md3"><label class="fkey">收款行账号：</label><label class="fval">{{d.payeeBankAccountNo}}</label></div>
    </div>
    <div class="layui-row">
        <div class="layui-col-md3"><label class="fkey">SWIFT CODE：</label><label class="fval">{{d.swiftCode}}</label></div>
        <div class="layui-col-md3"><label class="fkey">IBANK CODE：</label><label class="fval">{{d.ibankCode}}</label></div>
        <div class="layui-col-md6"><label class="fkey">收款行地址：</label><label class="fval">{{d.payeeBankAddress}}</label></div>
    </div>
    <div class="layui-row">
        <div class="layui-col-md3"><label class="fkey">付款方式：</label><label class="fval">{{d.paymentTermDesc}}</label></div>
        <div class="layui-col-md3"><label class="fkey">结算汇率：</label><label class="fval">
            {{# if(d.oldExchangeRate!=d.exchangeRate){ }}
            <span class="invalid">{{d.oldExchangeRate}}</span> <i class="fa fa-arrow-right" style="margin-left: 4px;"></i> <span class="text-danger">{{d.exchangeRate}}</span>
            {{#}else{ }}
            {{d.exchangeRate}}
            {{#}}}
        </label></div>
        <div class="layui-col-md3"><label class="fkey">手续费：</label><label class="fval">{{d.counterFeeTypeDesc}} {{formatCurrency(d.bankFee)}}</label></div>
        <div class="layui-col-md3"><label class="fkey">付款人：</label><label class="fval">{{removeNull(d.payer)}}</label></div>
    </div>
    <div class="layui-row">
        <div class="layui-col-md3"><label class="fkey">付款银行：</label><label class="fval">{{removeNull(d.payerBankName)}}</label></div>
        <div class="layui-col-md3"><label class="fkey">付款银行账号：</label><label class="fval">{{removeNull(d.payerBankAccountNo)}}</label></div>
        <div class="layui-col-md3"><label class="fkey">付款时间：</label><label class="fval">{{removeNull(d.realAccountDate)}}</label></div>
        <div class="layui-col-md3"><label class="fkey">实付金额：</label><label class="fval">
            {{#if(!isEmpty(d.actualCurrencyName)){}}
            {{formatCurrency(d.actualAccountValue)}}
            {{d.actualCurrencyName}}
            {{#}}}
        </label></div>
    </div>
    <div class="layui-row">
        <div class="layui-col-md12"><label class="fkey">付款要求：</label><label class="fval">{{removeNull(d.memo)}}</label></div>
    </div>
</script>
<script type="text/html" id="orderStatusTemp">
    <a href="javascript:" class="{{d.statusId}}">{{d.statusDesc}}</a>
</script>